package com.google.denta.exception;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

/**
 * @author crash
 *
 */
@ResponseStatus(HttpStatus.NOT_ACCEPTABLE)
public class ActionAccessException extends RuntimeException {
    /** Serial. */
    private static final long serialVersionUID = -9185999014170593566L;

    public ActionAccessException() {
        super();
        System.out.println("<!> ActionAccessException/");
    }

    public ActionAccessException(String msg) {
        super(msg);
        System.out.println("<!> ActionAccessException: "+msg);
    }
}